package peter.study.spring.videocource.genericity.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Servlet<T> {
	@Autowired
	private Factory<T> factory;

	public void service(T entry) {
		System.out.println(">>> service: " + this);
		factory.detail(entry);
	}
}
